package org.openscheduler.common.converter;

import org.quartz.DateBuilder.IntervalUnit;
import org.springframework.core.convert.converter.Converter;

public class StringToIntervalUnitConvert implements Converter<String, IntervalUnit> {

	@Override
	public IntervalUnit convert(String source) {
		return IntervalUnit.valueOf(source);
	}

}
